/**
 * Created by yf-0001 on 2016/2/17.
 */
var http = require('http');
http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/html'});
    res.write('<h1>Node.js</h1>');
    res.end('Hello World!\n');
}).listen(1337, '192.168.30.104');
console.log('Server running at http://127.0.0.1:1337');